package com.local.seckill.pojo;

/**
 * 秒杀商品数据实体类
 */

public class Seckill {
    private Integer seckillId;
    private Integer goodsId;
    private Integer seckillPrice;
    private Integer seckillNum;
    private Integer seckillStatus;
    private String seckillBegin;
    private String seckillEnd;
    //秒杀商品排序
    private Integer seckillRank;
    private String createTime;
    private String updateTime;
    private Integer isDeleted;

    //以下字段用于显示，不是数据库字段
    private String goodsName;
    private String goodsCoverImg;
    private Integer sellingPrice;
    private String goodsInfo;
    private String goodsDetailContent;
    private Long startTime;
    private Long endTime;




    public Integer getSeckillId() {
        return seckillId;
    }

    public void setSeckillId(Integer seckillId) {
        this.seckillId = seckillId;
    }

    public Integer getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;
    }

    public Integer getSeckillPrice() {
        return seckillPrice;
    }

    public void setSeckillPrice(Integer seckillPrice) {
        this.seckillPrice = seckillPrice;
    }

    public Integer getSeckillNum() {
        return seckillNum;
    }

    public void setSeckillNum(Integer seckillNum) {
        this.seckillNum = seckillNum;
    }

    public Integer getSeckillStatus() {
        return seckillStatus;
    }

    public void setSeckillStatus(Integer seckillStatus) {
        this.seckillStatus = seckillStatus;
    }

    public String getSeckillBegin() {
        return seckillBegin;
    }

    public void setSeckillBegin(String seckillBegin) {
        this.seckillBegin = seckillBegin;
    }

    public String getSeckillEnd() {
        return seckillEnd;
    }

    public void setSeckillEnd(String seckillEnd) {
        this.seckillEnd = seckillEnd;
    }

    public Integer getSeckillRank() {
        return seckillRank;
    }

    public void setSeckillRank(Integer seckillRank) {
        this.seckillRank = seckillRank;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getIsDeleted() {
        return isDeleted;
    }

    public void setIsDeleted(Integer isDeleted) {
        this.isDeleted = isDeleted;
    }


    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public String getGoodsCoverImg() {
        return goodsCoverImg;
    }

    public void setGoodsCoverImg(String goodsCoverImg) {
        this.goodsCoverImg = goodsCoverImg;
    }

    public Integer getSellingPrice() {
        return sellingPrice;
    }

    public void setSellingPrice(Integer sellingPrice) {
        this.sellingPrice = sellingPrice;
    }

    public String getGoodsInfo() {
        return goodsInfo;
    }

    public void setGoodsInfo(String goodsInfo) {
        this.goodsInfo = goodsInfo;
    }

    public String getGoodsDetailContent() {
        return goodsDetailContent;
    }

    public void setGoodsDetailContent(String goodsDetailContent) {
        this.goodsDetailContent = goodsDetailContent;
    }

    public Long getStartTime() {
        return startTime;
    }

    public void setStartTime(Long startTime) {
        this.startTime = startTime;
    }

    public Long getEndTime() {
        return endTime;
    }

    public void setEndTime(Long endTime) {
        this.endTime = endTime;
    }

    @Override
    public String toString() {
        return "Seckill{" +
                "seckillId=" + seckillId +
                ", goodsId=" + goodsId +
                ", seckillPrice=" + seckillPrice +
                ", seckillNum=" + seckillNum +
                ", seckillStatus=" + seckillStatus +
                ", seckillBegin='" + seckillBegin + '\'' +
                ", seckillEnd='" + seckillEnd + '\'' +
                ", seckillRank=" + seckillRank +
                ", createTime='" + createTime + '\'' +
                ", updateTime='" + updateTime + '\'' +
                ", isDeleted=" + isDeleted +
                '}';
    }
}
